﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Erik/Erik.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

     <div>
    <% 
        DerptelligenceSite.Models.Erik.HomeworkItem item = (DerptelligenceSite.Models.Erik.HomeworkItem)ViewData["Item"]; %>
         <div>
            <h2><a href="homework?id=<%: item.ID %>"> <%: item.Title %></a></h2>
            <p> <%: item.PublishDate %></p>
            <p> <%= item.Description %></p>
         </div>
         <% } %>
    </div>

</asp:Content>

